home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / mint / lib / mlib34d.zoo / diffh < prev    next >
Text File  |  1993-07-09  |  23KB  |  771 lines

  1. diff -cr /src/mntinc33/PatchLev.h ./PatchLev.h
  2. *** /src/mntinc33/PatchLev.h    Thu Jun 17 09:25:26 1993
  3. --- ./PatchLev.h    Tue Jul  6 07:50:58 1993
  4. ***************
  5. *** 3,6 ****
  6.    *    directory.
  7.    */
  8.    
  9. ! #define _PatchLevel "33"
  10. --- 3,6 ----
  11.    *    directory.
  12.    */
  13.    
  14. ! #define _PatchLevel "34"
  15. diff -cr /src/mntinc33/compiler.h ./compiler.h
  16. *** /src/mntinc33/compiler.h    Tue Jun 22 03:15:04 1993
  17. --- ./compiler.h    Tue Jul  6 11:34:06 1993
  18. ***************
  19. *** 200,203 ****
  20. --- 200,206 ----
  21.   #define _PID_T int
  22.   #endif
  23.   
  24. + /* used in limits.h, stdio.h */
  25. + #define    _NFILE        (32)        /* maximum number of open streams */
  26.   #endif /* _COMPILER_H */
  27. diff -cr /src/mntinc33/ctype.h ./ctype.h
  28. *** /src/mntinc33/ctype.h    Tue Jun 15 15:02:56 1993
  29. --- ./ctype.h    Tue Jul  6 10:47:38 1993
  30. ***************
  31. *** 25,31 ****
  32. --- 25,33 ----
  33.   
  34.   #define    isalnum(c)    (_ctype[(unsigned char)(c)]&(_CTu|_CTl|_CTd))
  35.   #define    isalpha(c)    (_ctype[(unsigned char)(c)]&(_CTu|_CTl))
  36. + #ifndef _POSIX_SOURCE
  37.   #define    isascii(c)    !((c)&~0x7F)
  38. + #endif /* _POSIX_SOURCE */
  39.   #define    iscntrl(c)    (_ctype[(unsigned char)(c)]&_CTc)
  40.   #define    isdigit(c)    (_ctype[(unsigned char)(c)]&_CTd)
  41.   #define    isgraph(c)    (!(_ctype[(unsigned char)(c)]&(_CTc|_CTs)) && (_ctype[(unsigned char)(c)]))
  42. diff -cr /src/mntinc33/dirent.h ./dirent.h
  43. *** /src/mntinc33/dirent.h    Mon Dec  7 12:53:08 1992
  44. --- ./dirent.h    Tue Jul  6 10:53:00 1993
  45. ***************
  46. *** 71,77 ****
  47.   #endif /* __MINT__ */
  48.   
  49.   
  50. ! #define DIRENTSIZ(x) (sizeof(struct dirent) + (x) + 1)
  51.   
  52.   /* allow BSD emulation via sys/dir.h */
  53.   
  54. --- 71,77 ----
  55.   #endif /* __MINT__ */
  56.   
  57.   
  58. ! #define __DIRENTSIZ(x) (sizeof(struct dirent) + (x) + 1)
  59.   
  60.   /* allow BSD emulation via sys/dir.h */
  61.   
  62. ***************
  63. *** 80,86 ****
  64.   #define d_fileno    d_ino
  65.   #define d_namlen    d_reclen
  66.   
  67. ! #define DIRSIZ(dp)     DIRENTSIZ((dp)->d_namlen)
  68.   #define MAXNAMLEN    _LIB_NAME_MAX
  69.   #endif
  70.   
  71. --- 80,86 ----
  72.   #define d_fileno    d_ino
  73.   #define d_namlen    d_reclen
  74.   
  75. ! #define DIRSIZ(dp)     __DIRENTSIZ((dp)->d_namlen)
  76.   #define MAXNAMLEN    _LIB_NAME_MAX
  77.   #endif
  78.   
  79. ***************
  80. *** 87,94 ****
  81. --- 87,96 ----
  82.   
  83.   __EXTERN DIR *        opendir    __PROTO((const char *dirname));
  84.   __EXTERN struct dirent *readdir    __PROTO((DIR *dirp));
  85. + #ifndef _POSIX_SOURCE
  86.   __EXTERN off_t        telldir __PROTO((DIR *dirp));
  87.   __EXTERN void        seekdir    __PROTO((DIR *dirp, off_t loc));
  88. + #endif /* _POSIX_SOURCE */
  89.   __EXTERN void        rewinddir __PROTO((DIR *dirp));
  90.   __EXTERN int        closedir  __PROTO((DIR *dirp));
  91.   
  92. diff -cr /src/mntinc33/errno.h ./errno.h
  93. *** /src/mntinc33/errno.h    Sun Jun  6 10:07:16 1993
  94. --- ./errno.h    Tue Jul  6 09:30:14 1993
  95. ***************
  96. *** 61,66 ****
  97. --- 61,68 ----
  98.   #define    ENMFILES     49        /* no more files (fsnext) */
  99.   #define ENMFIL         49        /* no more files (from fsnext) */
  100.   
  101. + #define ELOCKED         58        /* locking conflict */
  102.   #define    EBADARG         64        /* range error/context unknown */
  103.   #define    EINTERNAL     65        /* internal error */
  104.   #define EINTRN         EINTERNAL    /*    "       "   */
  105. diff -cr /src/mntinc33/fcntl.h ./fcntl.h
  106. *** /src/mntinc33/fcntl.h    Thu Jun 10 06:32:22 1993
  107. --- ./fcntl.h    Tue Jul  6 10:06:12 1993
  108. ***************
  109. *** 62,67 ****
  110. --- 62,68 ----
  111.   #ifdef __MINT__
  112.   #define F_GETLK        5    /* Get file lock */
  113.   #define F_SETLK        6    /* Set file lock */
  114. + #define F_SETLKW    7    /* Get lock, wait if busy */
  115.   
  116.   struct flock {
  117.       short l_type;
  118. ***************
  119. *** 89,95 ****
  120.   #define __SMALLEST_VALID_HANDLE (0)
  121.   #endif
  122.   
  123. ! __EXTERN int fcntl __PROTO((int f, int cmd, ...));
  124.   
  125.   #ifdef __cplusplus
  126.   }
  127. --- 90,98 ----
  128.   #define __SMALLEST_VALID_HANDLE (0)
  129.   #endif
  130.   
  131. ! __EXTERN int    creat    __PROTO((const char *, unsigned));
  132. ! __EXTERN int    fcntl    __PROTO((int f, int cmd, ...));
  133. ! __EXTERN int    open    __PROTO((const char *, int, ...));
  134.   
  135.   #ifdef __cplusplus
  136.   }
  137. Only in /src/mntinc33: gnu
  138. diff -cr /src/mntinc33/grp.h ./grp.h
  139. *** /src/mntinc33/grp.h    Sun May 16 07:28:36 1993
  140. --- ./grp.h    Wed Jul  7 07:41:46 1993
  141. ***************
  142. *** 5,17 ****
  143.   #include <compiler.h>
  144.   #endif
  145.   
  146. ! #ifndef _TYPES_H
  147. ! #include <types.h>
  148. ! #endif
  149.   #ifndef _STDIO_H
  150.   #include <stdio.h>
  151.   #endif
  152.   
  153.   #ifdef __cplusplus
  154.   extern "C" {
  155. --- 5,15 ----
  156.   #include <compiler.h>
  157.   #endif
  158.   
  159. ! #ifndef _POSIX_SOURCE
  160.   #ifndef _STDIO_H
  161.   #include <stdio.h>
  162.   #endif
  163. + #endif /* _POSIX_SOURCE */
  164.   
  165.   #ifdef __cplusplus
  166.   extern "C" {
  167. ***************
  168. *** 20,39 ****
  169.   struct group
  170.   {
  171.     char *gr_name;    /* The name of the group        */
  172. !   char *gr_passwd;  /* The encrypted group password */
  173. !   gid_t gr_gid;     /* The numerical group ID       */
  174.     char **gr_mem;    /* array of member names        */
  175.   };
  176.   
  177.   __EXTERN void   setgrent __PROTO((void));
  178.   __EXTERN void   endgrent __PROTO((void));
  179.   __EXTERN struct group * getgrent __PROTO((void));
  180.   __EXTERN struct group * getgrgid __PROTO((int gid));
  181.   __EXTERN struct group * getgrnam __PROTO((const char *name));
  182. - #ifndef _POSIX_SOURCE
  183. - __EXTERN struct group * fgetgrent __PROTO((FILE *f));
  184. - #endif
  185.   
  186.   #ifdef __cplusplus
  187.   }
  188. --- 18,38 ----
  189.   struct group
  190.   {
  191.     char *gr_name;    /* The name of the group        */
  192. !   _GID_T gr_gid;    /* The numerical group ID       */
  193.     char **gr_mem;    /* array of member names        */
  194. +   char *__gr_passwd;/* The encrypted group password */
  195.   };
  196.   
  197. + #ifndef _POSIX_SOURCE
  198. + #define gr_passwd __gr_passwd
  199.   __EXTERN void   setgrent __PROTO((void));
  200.   __EXTERN void   endgrent __PROTO((void));
  201.   __EXTERN struct group * getgrent __PROTO((void));
  202. + __EXTERN struct group * fgetgrent __PROTO((FILE *f));
  203. + #endif /* _POSIX_SOURCE */
  204.   __EXTERN struct group * getgrgid __PROTO((int gid));
  205.   __EXTERN struct group * getgrnam __PROTO((const char *name));
  206.   
  207.   #ifdef __cplusplus
  208.   }
  209. diff -cr /src/mntinc33/limits.h ./limits.h
  210. *** /src/mntinc33/limits.h    Sat Feb 13 05:06:32 1993
  211. --- ./limits.h    Tue Jul  6 11:39:58 1993
  212. ***************
  213. *** 50,56 ****
  214.   
  215.   #endif /* __MSHORT__ */
  216.   
  217. ! #if defined(__GNUC__) && !defined(__STRICT_ANSI__)
  218.   /* Minimum and maximum values a `signed long long int' can hold.  */
  219.   #define LONG_LONG_MAX 9223372036854775807LL
  220.   #define LONG_LONG_MIN (-LONG_LONG_MAX-1)
  221. --- 50,56 ----
  222.   
  223.   #endif /* __MSHORT__ */
  224.   
  225. ! #if defined(__GNUC__) && !defined(__STRICT_ANSI__) && !defined(_POSIX_SOURCE)
  226.   /* Minimum and maximum values a `signed long long int' can hold.  */
  227.   #define LONG_LONG_MAX 9223372036854775807LL
  228.   #define LONG_LONG_MIN (-LONG_LONG_MAX-1)
  229. ***************
  230. *** 58,64 ****
  231.   /* Maximum value an `unsigned long long int' can hold.  (Minimum is 0).  */
  232.   #define ULONG_LONG_MAX 18446744073709551615ULL
  233.   
  234. ! #endif /* __GNUC__ && !__STRICT_ANSI__ */
  235.     
  236.   #define MB_LEN_MAX    1    /* max. number of bytes in a multibyte character */
  237.   
  238. --- 58,64 ----
  239.   /* Maximum value an `unsigned long long int' can hold.  (Minimum is 0).  */
  240.   #define ULONG_LONG_MAX 18446744073709551615ULL
  241.   
  242. ! #endif /* __GNUC__ && !__STRICT_ANSI__ && !_POSIX_SOURCE*/
  243.     
  244.   #define MB_LEN_MAX    1    /* max. number of bytes in a multibyte character */
  245.   
  246. ***************
  247. *** 75,87 ****
  248.   #define _POSIX_MAX_CANON    64    /* <- NON-CONFORMING */
  249.   #define _POSIX_MAX_INPUT    64    /* <- NON-CONFORMING */
  250.   #define _POSIX_NAME_MAX        14
  251. ! #define _POSIX_NGROUPS_MAX    0
  252.   #define _POSIX_OPEN_MAX        16
  253.   #define _POSIX_PATH_MAX        128    /* <- NON-CONFORMING */
  254.   #define _POSIX_PIPE_BUF        512
  255.   
  256.   #ifndef __STRICT_ANSI__
  257.   
  258.   #define NGROUPS_MAX        _POSIX_NGROUPS_MAX
  259.   #if 0
  260.   /* both of these are actually limited by available memory */
  261. --- 75,91 ----
  262.   #define _POSIX_MAX_CANON    64    /* <- NON-CONFORMING */
  263.   #define _POSIX_MAX_INPUT    64    /* <- NON-CONFORMING */
  264.   #define _POSIX_NAME_MAX        14
  265. ! #define _POSIX_NGROUPS_MAX    512    /* <- arbitrary */
  266.   #define _POSIX_OPEN_MAX        16
  267.   #define _POSIX_PATH_MAX        128    /* <- NON-CONFORMING */
  268.   #define _POSIX_PIPE_BUF        512
  269. + #define _POSIX_STREAM_MAX    _NFILE
  270.   
  271.   #ifndef __STRICT_ANSI__
  272.   
  273. + #ifndef STREAM_MAX
  274. + #define STREAM_MAX        _NFILE
  275. + #endif
  276.   #define NGROUPS_MAX        _POSIX_NGROUPS_MAX
  277.   #if 0
  278.   /* both of these are actually limited by available memory */
  279. diff -cr /src/mntinc33/locale.h ./locale.h
  280. *** /src/mntinc33/locale.h    Fri May 15 20:15:20 1992
  281. --- ./locale.h    Tue Jul  6 11:17:20 1993
  282. ***************
  283. *** 21,26 ****
  284.